#{extends 'main.html' /}
#{set title:'Edit Card' /}

    #{form @Decks.updateCard(cardId)}


        <input type="hidden" name="cardId" id="cardId" value="${params.cardId}">

    <p>
        <textarea rows="10" cols="80" name="question" id="question">${params.question}</textarea>
    </p>

    <p>
        <textarea rows="10" cols="80" name="answer" id="answer">${params.answer}</textarea>
    </p>

    <p>
        <input type="submit" value="Update card">
    </p>
    #{/form}

</div>
